package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:11
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductCodeGenDAO extends IDataAccessInterface<ProductCodeGen, ProductCodeGenDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_CODE_GEN";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_CODE_GEN.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_CODE_GEN.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field CODE_TYPE
    */
    static final String CodeType = "PRODUCT_CODE_GEN.CODE_TYPE";

    /**
     * Mapped Field SERIAL_CODE
    */
    static final String SerialCode = "PRODUCT_CODE_GEN.SERIAL_CODE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_CODE_GEN.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_CODE_GEN.REMARKS";

    /**
     * Mapped Attribute codeFormateTemplate
    */
    static final String CodeFormateTemplate = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductCodeTemplateDAO.CodeFormateTemplate,
            com.ourteam.product.requirement.dao.IProductCodeTemplateDAO.EntityName +
            ".", "PRODUCT_CODE_TEMPLATE.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductCodeGen findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute codeType
         */
        static final String CodeType = "codeType";

        /**
         * Attribute serialCode
         */
        static final String SerialCode = "serialCode";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute codeFormateTemplate
         */
        static final String CodeFormateTemplate = "codeFormateTemplate";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
